package com.example.dbmysql.mapper;


import com.example.dbmysql.pojo.Channel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface channelMapper {

    void add(Channel channel);

    Channel selectByRoomid(String channelId);

    List<Channel> selectAll();

    void update(Channel channel);

    void delByid(Integer id);

    Channel getById(Integer id);
}
